package com.dy.drp.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.common.aliasing.qual.NonLeaked;

import java.util.List;

/**
 * @Auther: dy
 * @Date: 2022/4/5 - 04 - 05 - 20:28
 * @Description: com.dy.drp.dto
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户数据传递类")
public class UserDto {
    @ApiModelProperty(hidden = true)
    private Long userId;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("用户密码")
    private String userPwd;
    @ApiModelProperty("真实姓名")
    private String realName;
    @ApiModelProperty("用户角色")
    private List<RoleDto> roleList;
}
